import request from  '@/utils/request.js'

// 产品信息
export function productpage({
    pageNo  ,
	pageSize ,
	sku ,
    systemcode 
}) {
    return request({
        url: '/api/v1/cs/manage/productpage',
        method: 'post',
        data: {
            pageNo      :pageNo,
            pageSize    :pageSize ,
            sku         :sku ,
            systemcode  :systemcode
        }
    })
}

export function operationProduct({
	sku,
	imgUrl,
	title,
	price,
	remark,
	systemcode,
	status, 
}) {
    return request({
        url: '/api/v1/cs/manage/operationProduct',
        method: 'post',
        data: {
            sku :sku,
            imgUrl:imgUrl,
            title:title,
            price:price,
            remark:remark,
            systemcode:systemcode,
            status:status
        }
    })
}
